package com.aids_malaria.db.dao;

import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Query;

import com.aids_malaria.http.response.GetMedicalTreatment;

import java.util.ArrayList;
import java.util.List;

@Dao
public interface GetMedicalTreatmentDao {
    @Query("delete from getMedicalTreatment")
    int deleteAll();

    @Query("SELECT * FROM getMedicalTreatment")
    List<GetMedicalTreatment> getAll();


}
